package com.orangecy.fielddiff;

import com.orangecy.common.bean.Student;
import com.orangecy.common.util.LbFieldDiffUtils;

/**
 * @Author : orangeCy.奕
 * @Product : 猎豹养成产品源码
 * @Time : 2021/10/19
 * @Desc :
 */
public class Client {

    public static void main(String[] args) {
        //判断两个学生是不是来自同一个学校
        Student student1 = new Student();
        student1.setStuId(1L);
        student1.setStuName("stu1");
        student1.setSchool("gm1");
        Student student2 = new Student();
        student2.setStuId(2L);
        student2.setStuName("stu2");
        student2.setSchool("gm2");
        System.out.println(LbFieldDiffUtils.isChanged(student1, student2));
    }
}